Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to update dependencies and code for 2023. #47

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

donmccurdy
Copy link
Owner

  • Replace 'scssify' with 'browserify-css'
  • Replace '@donmccurdy/recast' with 'recast-detour'
  • Support Node.js >=14
  • Replace 'now' with 'vercel'

Build currently failing, with the following error from recast-detour

RuntimeError: divide by zero
[1]     at null.<anonymous> (wasm://wasm/00158cb2:1:242384)
[1]     at Module._emscripten_bind_NavMesh_build_5 (/Users/donmccurdy/Documents/Projects/aframe-inspector-plugin-recast/node_modules/recast-detour/recast.js:146:422)
[1]     at NavMesh.build.NavMesh.build [as build] (/Users/donmccurdy/Documents/Projects/aframe-inspector-plugin-recast/node_modules/recast-detour/recast.js:232:480)
[1]     at /Users/donmccurdy/Documents/Projects/aframe-inspector-plugin-recast/function.js:98:13
[1]     at runNextTicks (node:internal/process/task_queues:61:5)
[1]     at processImmediate (node:internal/timers:437:9)

The recast-detour npm package is undocumented, I've had to follow example code to get this far. That's been the ongoing challenge for this project — there is no WASM build of recast that is stable and documented, and reverse engineering it continues to be a pain.

- Replace 'scssify' with 'browserify-css'
- Replace '@donmccurdy/recast' with 'recast-detour'
- Support Node.js >=14
- Replace 'now' with 'vercel'
@donmccurdy
Copy link
Owner Author

I'll be pausing work on this project. Without a stable recast library, I can't maintain it.

@donmccurdy
Copy link
Owner Author

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant